package com.example.springbootsfzy.mapper;

import com.example.springbootsfzy.domain.Members;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 30658
* @description 针对表【members】的数据库操作Mapper
* @createDate 2025-01-02 15:11:36
* @Entity com.example.springbootsfzy.domain.Members
*/
@Mapper
public interface MembersMapper {
//单表
    int deleteByPrimaryKey(Long id);

    int insert(Members record);

    int insertSelective(Members record);

    Members selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Members record);

    int updateByPrimaryKey(Members record);
    List<Members> selectAll();

   //根据username  反查member_id
   Members selectByUsername(String username);

//    多表操作



}
